package com.xiaochong.tir.common.data.hbasepo;

import java.util.Date;

/**
 * 从CoinMarketCap 获取货币全球汇总数据
 * Created by cx on 2018/4/25.
 */
public class CmcCurrencyGlobalInfo {
    /**
     * 活跃加密货币数量
     */
    private String activeCryptocurrencies;
    /**
     * 活跃市场数量
     */
    private String activeMarkets;
    /**
     * 更新时间
     */
    private String lastUpdated;
    /**
     * 比特币市值占比
     */
    private String bitcoinPercentageOfMarketCap;
    /**
     * 市值 USD
     */
    private String totalMarketCapUsd;
    /**
     * 24小时交易量 USD
     */
    private String total24hVolumeUsd;
    /**
     * 市值 CNY
     */
    private String totalMarketCapCny;
    /**
     * 24小时交易量 CNY
     */
    private String total24hVolumeCny;
    /**
     * 创建时间
     */
    private Date createTime;

    public String getActiveCryptocurrencies() {
        return activeCryptocurrencies;
    }

    public void setActiveCryptocurrencies(String activeCryptocurrencies) {
        this.activeCryptocurrencies = activeCryptocurrencies;
    }

    public String getActiveMarkets() {
        return activeMarkets;
    }

    public void setActiveMarkets(String activeMarkets) {
        this.activeMarkets = activeMarkets;
    }

    public String getLastUpdated() {
        return lastUpdated;
    }

    public void setLastUpdated(String lastUpdated) {
        this.lastUpdated = lastUpdated;
    }

    public String getBitcoinPercentageOfMarketCap() {
        return bitcoinPercentageOfMarketCap;
    }

    public void setBitcoinPercentageOfMarketCap(String bitcoinPercentageOfMarketCap) {
        this.bitcoinPercentageOfMarketCap = bitcoinPercentageOfMarketCap;
    }

    public String getTotalMarketCapUsd() {
        return totalMarketCapUsd;
    }

    public void setTotalMarketCapUsd(String totalMarketCapUsd) {
        this.totalMarketCapUsd = totalMarketCapUsd;
    }

    public String getTotal24hVolumeUsd() {
        return total24hVolumeUsd;
    }

    public void setTotal24hVolumeUsd(String total24hVolumeUsd) {
        this.total24hVolumeUsd = total24hVolumeUsd;
    }

    public String getTotalMarketCapCny() {
        return totalMarketCapCny;
    }

    public void setTotalMarketCapCny(String totalMarketCapCny) {
        this.totalMarketCapCny = totalMarketCapCny;
    }

    public String getTotal24hVolumeCny() {
        return total24hVolumeCny;
    }

    public void setTotal24hVolumeCny(String total24hVolumeCny) {
        this.total24hVolumeCny = total24hVolumeCny;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "CmcCurrencyGlobalInfo{" +
                "activeCryptocurrencies='" + activeCryptocurrencies + '\'' +
                ", activeMarkets='" + activeMarkets + '\'' +
                ", lastUpdated='" + lastUpdated + '\'' +
                ", bitcoinPercentageOfMarketCap='" + bitcoinPercentageOfMarketCap + '\'' +
                ", totalMarketCapUsd='" + totalMarketCapUsd + '\'' +
                ", total24hVolumeUsd='" + total24hVolumeUsd + '\'' +
                ", totalMarketCapCny='" + totalMarketCapCny + '\'' +
                ", total24hVolumeCny='" + total24hVolumeCny + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
